﻿using System;
using System.Text;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using Tssipl.PaymentAdapter.Core;
namespace Tssipl.PaymentAdapter.MessageFormat.Swift
{
    public class SwiftBlock5 : SwiftBlock3
    {
        public SwiftBlock5(String Contents)
            : base(Contents)
        {
            //super(Contents);
        }


        /* (non-Javadoc)
         * @see com.chrislaforetsoftware.swift.message.ISwiftBlock#getFormattedBlock()
         */
        //@Override
        public String getFormattedBlock()
        {
            StringBuilder sb = new StringBuilder(512);
            sb.Append("{5:");
            sb.Append(getContents());
            sb.Append("}");
            return sb.ToString();
        }

    }
}